import request from '@/utils/request';

// 获取用户请假列表
// 暂时调用 OA 接口
export async function getLeaveList() {
    return request('/api/work/v1/attendance/leaveflow/web/allowEmpLeaveCancel', {
        method: 'POST'
    });
}

// 获取请假类型
export function getLeaveTypeList() {
    return request('/api/work/v1/attendance/leavetype/web/typelist', {
        method: 'POST'
    });
}
